package com.zlt.appparking.mapper;

import com.zlt.appparking.entity.AdvertisementPlayed;
import com.zlt.appparking.entity.AdvertisementPlayedExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface AdvertisementPlayedMapper {
    long countByExample(AdvertisementPlayedExample example);

    int deleteByExample(AdvertisementPlayedExample example);

    int deleteByPrimaryKey(Integer apId);

    int insert(AdvertisementPlayed record);

    int insertSelective(AdvertisementPlayed record);

    List<AdvertisementPlayed> selectByExample(AdvertisementPlayedExample example);

    AdvertisementPlayed selectByPrimaryKey(Integer apId);

    int updateByExampleSelective(@Param("record") AdvertisementPlayed record, @Param("example") AdvertisementPlayedExample example);

    int updateByExample(@Param("record") AdvertisementPlayed record, @Param("example") AdvertisementPlayedExample example);

    int updateByPrimaryKeySelective(AdvertisementPlayed record);

    int updateByPrimaryKey(AdvertisementPlayed record);
}